package school.valon.dto;

import java.io.Serializable;
import java.util.List;

public class AddressDto implements Serializable {

	private static final long serialVersionUID = 3060770289464417435L;

	private Integer addressId;

	private String addressLine1;

	private String addressLine2;
	
	private String city;

	private String province;

	private String country;

	private String postalCode;

	private List<CourseOfferingDto> courseOfferingList;

	public Integer getAddressId() {
		return addressId;
	}

	public void setAddressId(Integer addressId) {
		this.addressId = addressId;
	}

	public String getAddressLine1() {
		return addressLine1;
	}

	public void setAddressLine1(String addressLine1) {
		this.addressLine1 = addressLine1;
	}

	public String getAddressLine2() {
		return addressLine2;
	}

	public void setAddressLine2(String addressLine2) {
		this.addressLine2 = addressLine2;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public List<CourseOfferingDto> getCourseOfferingList() {
		return courseOfferingList;
	}

	public void setCourseOfferingList(List<CourseOfferingDto> courseOfferingList) {
		this.courseOfferingList = courseOfferingList;
	}

	@Override
	public String toString() {
		return addressLine1 + " " + addressLine2 + " " + city + " " + province + " " + country + " " + postalCode;
	}
}